<template>
  <div>
    组件参数测试
    <!-- <el-button
      v-for="item in [1,2,3,4]"
      :key="item"
      
    >
      {{ item }}
    </el-button> -->
    <test-com
      v-for="item in [1, 2, 3, 4]"
      :key="item"
      :data="item"
      @testEve="testEve($event, item)"
    />
  </div>
</template>

<script>
import testCom from "./testCom.vue";
export default {
  components: {
    testCom,
  },
  methods: {
    testEve(a, b, c, d) {
      console.log(a, b, c, d);
    },
  },
};
</script>

<style>
</style>